package com.quanyou.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Thinkpad on 2016/4/12.
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping(value = "/index")
    public String testOperationDailyReport() {
        try {
            return "ok";
        } catch (Exception e) {
            e.printStackTrace();
            return "error";
        }
    }
}
